package com.ztesoft.web.common.db.po;

import java.util.*;
import org.apache.commons.lang.StringUtils;
import com.ztesoft.framework.dto.AbstractDto;

public class DbBaseInfoPO extends AbstractDto{
	private Integer  dbBaseId;
	private String  dbHostName;
	private String  dbHostIp;
	private String  dbHostPort;
	private String  dbName;
	private String  dbDesc;
	private String  state;
	private String  systemId;
	private String  dbCategory;
	private String  createDate;
	private String  stateDate;
	
	private Integer  dbLinkId;
	private String  dbLinkName;
	private String  dbUserName;
	
    public Integer getDbLinkId() {
		return dbLinkId;
	}
	public void setDbLinkId(Integer dbLinkId) {
		this.dbLinkId = dbLinkId;
	}
	public String getDbLinkName() {
		return dbLinkName;
	}
	public void setDbLinkName(String dbLinkName) {
		this.dbLinkName = dbLinkName;
	}
	public String getDbUserName() {
		return dbUserName;
	}
	public void setDbUserName(String dbUserName) {
		this.dbUserName = dbUserName;
	}
	
	
	public void setDbBaseId(Integer dbBaseId) {
        this.dbBaseId = dbBaseId;
    }
    public Integer getDbBaseId() {
        return dbBaseId;
    }
    public void setDbHostName(String dbHostName) {
        this.dbHostName = dbHostName;
    }

    public String getDbHostName() {
        return StringUtils.isBlank(dbHostName) ? dbHostName : dbHostName.trim();
    }
    public void setDbHostIp(String dbHostIp) {
        this.dbHostIp = dbHostIp;
    }

    public String getDbHostIp() {
        return StringUtils.isBlank(dbHostIp) ? dbHostIp : dbHostIp.trim();
    }
    public void setDbHostPort(String dbHostPort) {
        this.dbHostPort = dbHostPort;
    }

    public String getDbHostPort() {
        return StringUtils.isBlank(dbHostPort) ? dbHostPort : dbHostPort.trim();
    }
    public void setDbName(String dbName) {
        this.dbName = dbName;
    }

    public String getDbName() {
        return StringUtils.isBlank(dbName) ? dbName : dbName.trim();
    }
    public void setDbDesc(String dbDesc) {
        this.dbDesc = dbDesc;
    }

    public String getDbDesc() {
        return StringUtils.isBlank(dbDesc) ? dbDesc : dbDesc.trim();
    }
    public void setState(String state) {
        this.state = state;
    }

    public String getState() {
        return StringUtils.isBlank(state) ? state : state.trim();
    }
    public void setSystemId(String systemId) {
        this.systemId = systemId;
    }
    public String getSystemId() {
        return systemId;
    }
    public void setDbCategory(String dbCategory) {
        this.dbCategory = dbCategory;
    }

    public String getDbCategory() {
        return StringUtils.isBlank(dbCategory) ? dbCategory : dbCategory.trim();
    }
    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    public String getCreateDate() {
        return StringUtils.isBlank(createDate) ? createDate : createDate.trim();
    }
    public void setStateDate(String stateDate) {
        this.stateDate = stateDate;
    }

    public String getStateDate() {
        return StringUtils.isBlank(stateDate) ? stateDate : stateDate.trim();
    }
}